package contest_launcher;


import jade.content.lang.sl.SLCodec;
import ontology.ContestOntology;


public class LauncherAgent extends jade.core.Agent {

	private boolean temObra;
//
//
	public void setup() {
		setTemObra(false);
//
//		// Register languages and ontologies
		getContentManager().registerLanguage(new SLCodec());
		getContentManager().registerOntology(ContestOntology.getInstance());
		addBehaviour(new GetContestBehaviour(this,1000));
//	}
//
//
//	public boolean isHasItem() {
//		return hasItem;
//	}
//
//
//	public void setHasItem(boolean hasItem) {
//		this.hasItem = hasItem;
//	}
		
		System.out.println("Tick please!!");
		
	}
	
	
		public boolean isTemObra() {
			return temObra;
		}
		public void setTemObra(boolean temObra) {
			this.temObra = temObra;
		}
	

		
	
}

